package com.mcxx.modules.base.service.write;

import com.mcxx.modules.base.dao.write.EventResultWriteDao;
import com.mcxx.modules.base.entity.EventResultEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class EventResultWriteService {
    @Autowired
    private EventResultWriteDao eventResultWriteDao;


    
    public int insert(EventResultEntity eventResult) {
        return eventResultWriteDao.insert(eventResult);
    }

    
    public int insertIgnoreNull(EventResultEntity eventResult) {
        return eventResultWriteDao.insertIgnoreNull(eventResult);
    }

    
    public int update(EventResultEntity eventResult) {
        return eventResultWriteDao.update(eventResult);
    }

    
    public int updateIgnoreNull(EventResultEntity eventResult) {
        return eventResultWriteDao.updateIgnoreNull(eventResult);
    }

    
    public int delete(EventResultEntity eventResult) {
        return eventResultWriteDao.delete(eventResult);
    }
}
